package controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
* @methodname
* @Description {填写方法注释说明}
* @author lutianbo
* @create 2018/5/9,0009 14:11
* @param
* @throws {如果有异常说明请填写}
* @return
*/
@Controller
public class HelloController {
    @RequestMapping("/hello.action")
    public String hello(ModelMap mv) {
        mv.addAttribute("msg", "hello mvc");
        return "hello";
    }
}